home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ Delphi Options.xpl
< prev
next >
Wrap
Text File
|
2000-08-07
|
2KB
|
67 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="Program Options\Other Programs\Delphi"
"NAME"="Delphi CPU Window"
"VERSION"="1.14"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable Delphi 2.x CPU Window"
"TEXT 2"="Enable Delphi 3.x CPU Window"
"DESCRIPTION 1"="Activating this feature adds the command "CPU Window" to Delphi."
"DESCRIPTION 2"="Simply select "CPU Window" from the "View" menu and you will see a Disassembly View of the current stack."
"DESCRIPTION 3"="Note: Some menus don't work."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="from "Registry Dompteur" RegDom (c) 1996..98 by Horst Schmid, Horst_Schmid@compuserve.com"
sP1="HKCU\Software\Borland\Delphi\"
sP2=".0\Debugging\ENABLECPU"
Sub Plugin_Initialize
if RegPathExists(sP1)=true then
s=RegReadValue(sP1 & "2" & sP2)
if s="1" then
SetUIElement 1,true
end if
s=RegReadValue(sP1 & "3" & sP2)
if s="1" then
SetUIElement 2,true
end if
else
Call Disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sP1 & "2" & sP2,"1",1)
else
Call RegWriteValue(sP1 & "2" & sP2,"0",1)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sP1 & "3" & sP2,"1",1)
else
Call RegWriteValue(sP1 & "3" & sP2,"0",1)
end if
End Sub
Sub Plugin_Terminate
End Sub